package com.linsen.erp.admin.provider.qo;

import com.linsen.core.common.query.BasePageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @ProjectName: erp
 * @Package: com.linsen.erp.admin.provider.qo
 * @ClassName: UserQo
 * @Author: zhaoyong
 * @Email: zy765203718@gmail.com
 * @Date: 2023/7/27 12:24
 * @Version: 1.0
 */
@Data
@ApiModel("用户分页查询")
public class UserQo extends BasePageQuery implements Serializable {
    @ApiModelProperty("账户名")
    private String username;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("手机号")
    private String tel;
    @ApiModelProperty("部门id")
    private String deptId;
    @ApiModelProperty("指定部门是否显示全部子部门用户：0，否；1，是")
    private Integer isFetch;
    @ApiModelProperty(value = "部门id",hidden = true)
    private List<String> deptIdList;
    @ApiModelProperty("账户状态：0，停用；1，正常")
    private Integer status;
    @ApiModelProperty("是否是管理员账号：0，否；1，是")
    private Integer isAdmin;
}
